package com.tiennt.android.callnotes.models.contentholders;

import android.graphics.Bitmap;

public class ContactInfo {
	private long contactId;
	private Bitmap contactPhoto;
	private String contactName;

	public ContactInfo() {
	}

	public long getContactId() {
		return contactId;
	}

	public void setContactId(long contactId) {
		this.contactId = contactId;
	}

	public Bitmap getContactPhoto() {
		return contactPhoto;
	}

	public void setContactPhoto(Bitmap contactPhoto) {
		this.contactPhoto = contactPhoto;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return contactName;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		ContactInfo contactInfo = (ContactInfo) o;
		return contactId == contactInfo.contactId;
	}

}
